Nevron Open Vision Documentation
Nevron.Nov.Layout Namespace / NLayout Class / ArrangeAsync Method / ArrangeAsync(NList<Object>,NLayoutContext) Method
Objects to layout.
Layout context.


In This Topic
    ArrangeAsync(NList<Object>,NLayoutContext) Method
    In This Topic
    Asynchronously applies the layout to the specified objects by executing the layout on another thread.
    Syntax
    'Declaration
     
    
    Public Overloads Function ArrangeAsync( _
       ByVal objects As NList(Of Object), _
       ByVal context As NLayoutContext _
    ) As NPromise(Of NUndefined)
    'Usage
     
    
    Dim instance As NLayout
    Dim objects As NList(Of Object)
    Dim context As NLayoutContext
    Dim value As NPromise(Of NUndefined)
     
    value = instance.ArrangeAsync(objects, context)

    Parameters

    objects
    Objects to layout.
    context
    Layout context.

    Return Value

    a promise which is fulfilled when the arrange has been completed.
    Remarks
    This method is designed to be called on the UI thread, and will throw an exception if invoked from another thread.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also